Deleting Persistent Logs

The device automatically stores logged system event messages in its memory, where they persist even if the device undergoes a reset or powers off. To make sure that the device does not store these logged files indefinitely, allowing personal information to always be available, it's recommended that you configure an "age" period for the file rotation process (i.e., creation of new file and deletion of oldest file).

If you configure an "age" period, the device creates a new file when either the configured file size is reached ('Persistent Log Size' parameter) or the "age" is reached ('Persistent Log Period' parameter) -- whichever occurs first. Therefore, even if the configured file size for file rotation is not reached (even empty), when the period expires the device creates a new file, deleting the oldest persistent log file from storage.

To configure persistent log period:
1. Open the Logging Settings page (Troubleshoot menu > Troubleshoot tab > Logging folder > Logging Settings).
2. In the 'Persistent Log Size' field, enter the log size for file rotation.
3. In the 'Persistent Log Period' field, enter the age period for file rotation.

Configuring Persistent File Rotation with File Age

A picture containing background pattern

Description automatically generated

Persistent logging is applicable only to Mediant 90xx and Mediant Software SBCs.